#ifndef LIBRARY_H
#define LIBRARY_H
#include <QSqlTableModel>
#include <QWidget>

namespace Ui {
class Library;
}

class Library : public QWidget
{
    Q_OBJECT

public:
    explicit Library(QWidget *parent = 0);
    ~Library();

private slots:
    void on_lineEdit_returnPressed();

    void on_pushButtonBorrow_clicked();

    void on_pushButtonReturnUser_clicked();

    void on_pushButton_clicked();

private:
    Ui::Library *ui;
    QSqlTableModel *model;
};

#endif // LIBRARY_H
